import request from '@/utils/request'

// 网关请求处理接口 - 列表查询
export function list(data) {
  return request({
    url: '/jbdp-route/query?serviceId='+data.user+"&routePath="+data.region,
    method: 'POST',
    data: data
  })
}
export function save(data) {
  return request({
    url: '/jbdp-route/save',
    method: 'POST',
    data: data
  })
}
export function add(data) {
  return request({
    url: '/jbdp-route/add',
    method: 'POST',
    data: data
  })
}
export function update(data) {
  return request({
    url: '/jbdp-route/update',
    method: 'POST',
    data: data
  })
}
export function del(id) {
  return request({
    url: '/jbdp-route/delete/'+id,
    method: 'POST'
  })
}
